<template>
  <div>
    <!-- <el-button type="primary" @click="add">添加</el-button> -->
    <v-list :info="info"  @edit="edit"></v-list>
    <v-form :info="info"  ref="form"></v-form>
    <!-- <el-pagination
      layout="prev, pager, next"
      background
      :page-size="size"
      :total="total"
      @current-change="changePage"
    >
    </el-pagination> -->
  </div>
</template>
<script>
import { editInfo } from "../../mixins/editInfo.js";
import { mapGetters, mapActions } from "vuex";
import vList from "./components/list";
import vForm from "./components/form";
import { reqmemberlist } from "../../request/api";
export default {
  mixins: [editInfo],
  data() {
    return {
      list: [],
      total: 0,
      size: 2,
      page: 1,
    };
  },
  components: {
    vList,
    vForm,
  },
  computed: {
    ...mapGetters({}),
  },
  mounted() {
    
  },
  methods: {
    ...mapActions({}),
  }
};
</script>
<style scoped lang="less">
@import "../../less/index.less";
</style>